import {del, get,post,put} from './request';
export const save=(data: object | undefined)=>post('/system/dept/add',data);
export const update=(data: any)=>put('/system/dept/update',data);
export const info=(data:any)=>get('/system/dept/'+data,null);
export const remove=(data:any)=>del('/system/dept/remove',data);
export const treelist=(data:any)=>get('/system/dept/tree',data);
